package com.inoneone.youba.mcht.util;

public class Constant {


	public static enum ResponseEnum{
		SUCCESS("000000","操作成功");
		String code;
		String message;
		ResponseEnum(String code,String message){
			this.code=code;
			this.message=message;
		}
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getMessage() {
			return message;
		}
		public void setMessage(String message) {
			this.message = message;
		}
		
	}
	public static enum BusinessCodeEnum{
		MCHT_CREATE_ERROR("8001","商家创建失败"),MCHT_UPDATE_ERROR("8002","商家信息修改失败"),
		CARD_CREATE_ERROR("8003","IC卡创建失败"),CARD_UPDATE_ERROR("8004","IC卡信息修改失败"),
		CARD_RECHARGE_ERROR("8005","IC卡充值失败"),CARD_CHARGE_ERROR("8006","IC卡扣款失败");
		String code;
		String message;
		BusinessCodeEnum(String code,String message){
			this.code=code;
			this.message=message;
		}
		public String getCode() {
			return code;
		}
		public void setCode(String code) {
			this.code = code;
		}
		public String getMessage() {
			return message;
		}
		public void setMessage(String message) {
			this.message = message;
		}
	}
}
